package com.lara1;

import java.util.Enumeration;
import java.util.Iterator;
import java.util.Vector;

public class Manager1 {
public static void main(String[] args) {
	Vector v=new Vector();
	v.add(90);
	v.add(910);
	v.add(190);
	v.add(920);
	v.add(390);
	System.out.println(v);
	Enumeration en=v.elements();
	while(en.hasMoreElements()){
		System.out.println(en.nextElement());
	}
	System.out.println("Iterator");
	Iterator it=v.iterator();
	while(it.hasNext()){
		System.out.println(it.next());
	}
}
}
